package com.gkjsj.exam3;

import org.springframework.stereotype.Component;
import org.springframework.stereotype.Repository;

/**
 * 教师上课
 * 
 * @author weixingtk
 *
 */
//@Component("teachaClass")
@Repository("teachaClass")
public class TeachaClass {
	public void take(){
		//int x = 1/0; //模拟异常时用
		System.out.println("老师和同学们愉快地学习....");
	}
}
